.class public Lcom/estrongs/android/biz/cards/cardfactory/e;
.super Ljava/lang/Object;
.source "CmsCardCommon.java"


# static fields
.field private static a:Ljava/lang/String; = "SP_KEY_CARD_RATE_CLICK"

.field public static final b:[Ljava/lang/String;

.field public static final c:[Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 15

    const/16 v0, 0xc

    new-array v1, v0, [Ljava/lang/String;

    const-string v2, "s011"

    const/4 v3, 0x0

    aput-object v2, v1, v3

    const-string v2, "s012"

    const/4 v4, 0x1

    aput-object v2, v1, v4

    const-string v2, "s02"

    const/4 v5, 0x2

    aput-object v2, v1, v5

    const-string v2, "s03"

    const/4 v6, 0x3

    aput-object v2, v1, v6

    const-string v2, "s04"

    const/4 v7, 0x4

    aput-object v2, v1, v7

    const-string v2, "s05"

    const/4 v8, 0x5

    aput-object v2, v1, v8

    const-string v2, "s06"

    const/4 v9, 0x6

    aput-object v2, v1, v9

    const-string v2, "s07"

    const/4 v10, 0x7

    aput-object v2, v1, v10

    const-string v2, "s08"

    const/16 v11, 0x8

    aput-object v2, v1, v11

    const-string v2, "s10"

    const/16 v12, 0x9

    aput-object v2, v1, v12

    const-string v2, "s11"

    const/16 v13, 0xa

    aput-object v2, v1, v13

    const-string v2, "default"

    const/16 v14, 0xb

    aput-object v2, v1, v14

    .line 1
    sput-object v1, Lcom/estrongs/android/biz/cards/cardfactory/e;->b:[Ljava/lang/String;

    const/16 v1, 0xf

    new-array v1, v1, [Ljava/lang/String;

    const-string v2, "ad"

    aput-object v2, v1, v3

    const-string v2, "share"

    aput-object v2, v1, v4

    const-string v2, "adunlock"

    aput-object v2, v1, v5

    const-string v2, "permission"

    aput-object v2, v1, v6

    const-string v2, "tip"

    aput-object v2, v1, v7

    const-string v2, "topic"

    aput-object v2, v1, v8

    const-string v2, "upgrade"

    aput-object v2, v1, v9

    const-string v2, "rate"

    aput-object v2, v1, v10

    const-string v2, "search"

    aput-object v2, v1, v11

    const-string v2, "recommend"

    aput-object v2, v1, v12

    const-string v2, "function"

    aput-object v2, v1, v13

    const-string v2, "widget"

    aput-object v2, v1, v14

    const-string v2, "subscribe"

    aput-object v2, v1, v0

    const/16 v0, 0xd

    const-string v2, "whatsnew"

    aput-object v2, v1, v0

    const/16 v0, 0xe

    const-string v2, "web"

    aput-object v2, v1, v0

    .line 2
    sput-object v1, Lcom/estrongs/android/biz/cards/cardfactory/e;->c:[Ljava/lang/String;

    return-void
.end method

.method public static a(Landroid/content/Context;I)Landroid/graphics/drawable/ShapeDrawable;
    .locals 4

    .line 132
    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p0

    const v0, 0x7f0700c6

    invoke-virtual {p0, v0}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result p0

    const/16 v0, 0x8

    new-array v1, v0, [F

    const/4 v2, 0x0

    :goto_0
    if-ge v2, v0, :cond_0

    int-to-float v3, p0

    .line 133
    aput v3, v1, v2

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 134
    :cond_0
    new-instance p0, Landroid/graphics/drawable/shapes/RoundRectShape;

    const/4 v0, 0x0

    invoke-direct {p0, v1, v0, v0}, Landroid/graphics/drawable/shapes/RoundRectShape;-><init>([FLandroid/graphics/RectF;[F)V

    .line 135
    new-instance v0, Landroid/graphics/drawable/ShapeDrawable;

    invoke-direct {v0, p0}, Landroid/graphics/drawable/ShapeDrawable;-><init>(Landroid/graphics/drawable/shapes/Shape;)V

    .line 136
    invoke-virtual {v0}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object p0

    invoke-virtual {p0, p1}, Landroid/graphics/Paint;->setColor(I)V

    .line 137
    invoke-virtual {v0}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object p0

    const/4 p1, 0x1

    invoke-virtual {p0, p1}, Landroid/graphics/Paint;->setAntiAlias(Z)V

    .line 138
    invoke-virtual {v0}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object p0

    sget-object p1, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {p0, p1}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    return-object v0
.end method

.method public static a(Ljava/lang/String;Ljava/lang/String;Lorg/json/JSONObject;)Les/yg;
    .locals 2

    const-string v0, "ad"

    .line 2
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 3
    new-instance p1, Les/wg;

    invoke-direct {p1, p0, p2}, Les/wg;-><init>(Ljava/lang/String;Lorg/json/JSONObject;)V

    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Les/yg;)Les/yg;

    move-result-object p0

    return-object p0

    :cond_0
    const-string v0, "adunlock"

    .line 4
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 5
    new-instance p1, Les/xg;

    invoke-direct {p1, p0, p2}, Les/xg;-><init>(Ljava/lang/String;Lorg/json/JSONObject;)V

    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Les/yg;)Les/yg;

    move-result-object p0

    return-object p0

    :cond_1
    const-string v0, "function"

    .line 6
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_3

    .line 7
    new-instance p1, Les/zg;

    invoke-direct {p1, p0, p2}, Les/zg;-><init>(Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 8
    invoke-virtual {p1}, Les/zg;->i()Z

    move-result p0

    if-nez p0, :cond_2

    return-object v1

    .line 9
    :cond_2
    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Les/yg;)Les/yg;

    move-result-object p0

    return-object p0

    :cond_3
    const-string v0, "permission"

    .line 10
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 11
    new-instance p1, Les/ah;

    invoke-direct {p1, p0, p2}, Les/ah;-><init>(Ljava/lang/String;Lorg/json/JSONObject;)V

    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Les/yg;)Les/yg;

    move-result-object p0

    return-object p0

    :cond_4
    const-string v0, "rate"

    .line 12
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    .line 13
    new-instance p1, Les/bh;

    invoke-direct {p1, p0, p2}, Les/bh;-><init>(Ljava/lang/String;Lorg/json/JSONObject;)V

    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Les/yg;)Les/yg;

    move-result-object p0

    return-object p0

    :cond_5
    const-string v0, "recommend"

    .line 14
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    .line 15
    new-instance p1, Les/ch;

    invoke-direct {p1, p0, p2}, Les/ch;-><init>(Ljava/lang/String;Lorg/json/JSONObject;)V

    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Les/yg;)Les/yg;

    move-result-object p0

    return-object p0

    :cond_6
    const-string v0, "share"

    .line 16
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    .line 17
    new-instance p1, Les/dh;

    invoke-direct {p1, p0, p2}, Les/dh;-><init>(Ljava/lang/String;Lorg/json/JSONObject;)V

    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Les/yg;)Les/yg;

    move-result-object p0

    return-object p0

    :cond_7
    const-string v0, "tip"

    .line 18
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    .line 19
    new-instance p1, Lcom/estrongs/android/pop/app/messagebox/info/c;

    invoke-direct {p1, p0, p2}, Lcom/estrongs/android/pop/app/messagebox/info/c;-><init>(Ljava/lang/String;Lorg/json/JSONObject;)V

    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Les/yg;)Les/yg;

    move-result-object p0

    return-object p0

    :cond_8
    const-string v0, "topic"

    .line 20
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_9

    .line 21
    new-instance p1, Lcom/estrongs/android/pop/app/messagebox/info/d;

    invoke-direct {p1, p0, p2}, Lcom/estrongs/android/pop/app/messagebox/info/d;-><init>(Ljava/lang/String;Lorg/json/JSONObject;)V

    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Les/yg;)Les/yg;

    move-result-object p0

    return-object p0

    :cond_9
    const-string v0, "widget"

    .line 22
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_b

    .line 23
    new-instance p1, Les/ih;

    invoke-direct {p1, p0, p2}, Les/ih;-><init>(Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 24
    invoke-virtual {p1}, Les/ih;->i()Z

    move-result p0

    if-nez p0, :cond_a

    return-object v1

    .line 25
    :cond_a
    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Les/yg;)Les/yg;

    move-result-object p0

    return-object p0

    :cond_b
    const-string v0, "subscribe"

    .line 26
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_d

    .line 27
    new-instance p1, Les/zg;

    invoke-direct {p1, p0, p2}, Les/zg;-><init>(Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 28
    invoke-virtual {p1}, Les/zg;->i()Z

    move-result p0

    if-nez p0, :cond_c

    return-object v1

    .line 29
    :cond_c
    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Les/yg;)Les/yg;

    move-result-object p0

    return-object p0

    :cond_d
    const-string v0, "whatsnew"

    .line 30
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_f

    .line 31
    new-instance p1, Les/hh;

    invoke-direct {p1, p0, p2}, Les/hh;-><init>(Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 32
    invoke-virtual {p1}, Les/hh;->i()Z

    move-result p0

    if-nez p0, :cond_e

    return-object v1

    .line 33
    :cond_e
    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Les/yg;)Les/yg;

    move-result-object p0

    return-object p0

    :cond_f
    const-string v0, "web"

    .line 34
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_11

    .line 35
    new-instance p1, Les/gh;

    invoke-direct {p1, p0, p2}, Les/gh;-><init>(Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 36
    invoke-virtual {p1}, Les/gh;->i()Z

    move-result p0

    if-nez p0, :cond_10

    return-object v1

    .line 37
    :cond_10
    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Les/yg;)Les/yg;

    move-result-object p0

    return-object p0

    :cond_11
    return-object v1
.end method

.method public static a(ILjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    .line 46
    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    return-object p1

    .line 47
    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string p0, "_"

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method public static a(Ljava/lang/String;)Ljava/lang/String;
    .locals 4

    const-string v0, ","

    const-string v1, ""

    .line 70
    invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object p0

    .line 71
    invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result v1

    const/4 v2, 0x2

    if-le v1, v2, :cond_0

    const/4 v1, 0x0

    .line 72
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result v3

    sub-int/2addr v3, v2

    invoke-virtual {p0, v1, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    .line 73
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result v3

    sub-int/2addr v3, v2

    invoke-virtual {p0, v3}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p0

    .line 74
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    :cond_0
    return-object p0
.end method

.method public static a(Ljava/lang/String;Ljava/util/List;ZLcom/estrongs/android/biz/cards/cardfactory/b;)Ljava/util/List;
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Les/yg;",
            ">;Z",
            "Lcom/estrongs/android/biz/cards/cardfactory/b;",
            ")",
            "Ljava/util/List<",
            "Les/yg;",
            ">;"
        }
    .end annotation

    if-eqz p1, :cond_c

    .line 48
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p2

    if-nez p2, :cond_0

    goto/16 :goto_1

    .line 49
    :cond_0
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    .line 50
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 51
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_a

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/yg;

    .line 52
    invoke-virtual {v1}, Les/yg;->g()Z

    move-result v2

    if-nez v2, :cond_1

    invoke-static {}, Les/b00;->q()Les/b00;

    move-result-object v2

    invoke-virtual {v2}, Les/b00;->i()Z

    move-result v2

    if-eqz v2, :cond_1

    goto :goto_0

    :cond_1
    const/4 v2, 0x0

    .line 53
    invoke-virtual {v1, v2}, Les/yg;->b(Z)V

    .line 54
    invoke-virtual {v1}, Les/yg;->b()Ljava/lang/String;

    move-result-object v2

    const-string v3, "ad"

    .line 55
    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_2

    invoke-static {}, Les/b00;->q()Les/b00;

    move-result-object v4

    invoke-virtual {v4}, Les/b00;->i()Z

    move-result v4

    if-eqz v4, :cond_2

    goto :goto_0

    :cond_2
    const-string v4, "home_page_feed"

    .line 56
    invoke-virtual {v4, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_3

    sget-boolean v3, Lcom/estrongs/android/pop/view/e;->d:Z

    if-eqz v3, :cond_3

    goto :goto_0

    :cond_3
    const-string v3, "adunlock"

    .line 57
    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_4

    const-string v4, "recommend"

    .line 58
    invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_5

    .line 59
    :cond_4
    invoke-static {}, Les/b00;->q()Les/b00;

    move-result-object v4

    invoke-virtual {v4}, Les/b00;->i()Z

    move-result v4

    if-eqz v4, :cond_5

    goto :goto_0

    .line 60
    :cond_5
    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_6

    .line 61
    invoke-static {v1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->a(Les/yg;)Z

    move-result v3

    if-nez v3, :cond_6

    goto :goto_0

    :cond_6
    const-string v3, "tip"

    .line 62
    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_7

    const-string v3, "topic"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_8

    .line 63
    :cond_7
    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_8
    const-string v3, "widget"

    .line 64
    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_9

    instance-of v2, v1, Les/ih;

    if-eqz v2, :cond_9

    .line 65
    move-object v2, v1

    check-cast v2, Les/ih;

    .line 66
    invoke-virtual {v2}, Les/ih;->i()Z

    move-result v2

    if-nez v2, :cond_9

    goto/16 :goto_0

    .line 67
    :cond_9
    invoke-interface {p2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_0

    .line 68
    :cond_a
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result p0

    if-eqz p0, :cond_b

    .line 69
    invoke-static {v0, p3}, Lcom/estrongs/android/biz/cards/cardfactory/i;->a(Ljava/util/List;Lcom/estrongs/android/biz/cards/cardfactory/b;)V

    :cond_b
    return-object p2

    :cond_c
    :goto_1
    return-object p1
.end method

.method public static a(Landroid/app/Activity;Landroid/widget/TextView;)V
    .locals 4

    .line 120
    invoke-virtual {p0}, Landroid/app/Activity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f08059f

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 121
    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getMinimumWidth()I

    move-result v1

    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getMinimumHeight()I

    move-result v2

    const/4 v3, 0x0

    invoke-virtual {v0, v3, v3, v1, v2}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    const/4 v1, 0x0

    .line 122
    invoke-virtual {p1, v0, v1, v1, v1}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 123
    invoke-virtual {p0}, Landroid/app/Activity;->getResources()Landroid/content/res/Resources;

    move-result-object p0

    const v0, 0x7f060093

    invoke-virtual {p0, v0}, Landroid/content/res/Resources;->getColor(I)I

    move-result p0

    invoke-virtual {p1, p0}, Landroid/widget/TextView;->setTextColor(I)V

    return-void
.end method

.method public static a(Landroid/content/Context;Landroid/view/View;Les/yg;Les/ch;Lcom/estrongs/android/biz/cards/cardfactory/c;Ljava/lang/String;)V
    .locals 4

    const v0, 0x7f0901a0

    .line 97
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    .line 98
    invoke-virtual {p3}, Les/ch;->i()Ljava/lang/String;

    move-result-object v1

    if-eqz p4, :cond_3

    if-eqz v0, :cond_3

    .line 99
    new-instance v2, Lcom/estrongs/android/biz/cards/cardfactory/e$c;

    invoke-direct {v2, p4, p2, p5}, Lcom/estrongs/android/biz/cards/cardfactory/e$c;-><init>(Lcom/estrongs/android/biz/cards/cardfactory/c;Les/yg;Ljava/lang/String;)V

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 100
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_0

    const/16 v2, 0x8

    goto :goto_0

    :cond_0
    const/4 v2, 0x0

    .line 101
    :goto_0
    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    .line 102
    instance-of v2, v0, Landroid/widget/Button;

    if-eqz v2, :cond_1

    if-eqz v1, :cond_1

    .line 103
    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 104
    :cond_1
    invoke-virtual {p3}, Les/ch;->j()Ljava/lang/String;

    move-result-object v1

    .line 105
    invoke-virtual {p3}, Les/ch;->k()Ljava/lang/String;

    move-result-object p3

    .line 106
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_2

    .line 107
    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0700ea

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v2

    .line 108
    invoke-virtual {v0, v2}, Landroid/widget/Button;->setHeight(I)V

    .line 109
    :try_start_0
    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    .line 110
    invoke-static {p0, v1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->a(Landroid/content/Context;I)Landroid/graphics/drawable/ShapeDrawable;

    move-result-object p0

    .line 111
    invoke-virtual {v0, p0}, Landroid/widget/Button;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception p0

    .line 112
    invoke-virtual {p0}, Ljava/lang/Exception;->printStackTrace()V

    .line 113
    :cond_2
    :goto_1
    invoke-static {p3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p0

    if-nez p0, :cond_3

    .line 114
    :try_start_1
    invoke-static {p3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result p0

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setTextColor(I)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    goto :goto_2

    :catch_1
    move-exception p0

    .line 115
    invoke-virtual {p0}, Ljava/lang/Exception;->printStackTrace()V

    .line 116
    :cond_3
    :goto_2
    invoke-static {p1, p2, p4, p5}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Landroid/view/View;Les/yg;Lcom/estrongs/android/biz/cards/cardfactory/c;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Landroid/view/View;Landroid/graphics/Bitmap;Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
    .locals 0

    .line 1
    invoke-static {p0, p1, p2}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Landroid/view/View;Landroid/graphics/Bitmap;Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    return-void
.end method

.method public static a(Landroid/view/View;Les/yg;Lcom/estrongs/android/biz/cards/cardfactory/c;Ljava/lang/String;)V
    .locals 1

    const v0, 0x7f090266

    .line 117
    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p0

    if-eqz p2, :cond_0

    if-eqz p0, :cond_0

    .line 118
    new-instance v0, Lcom/estrongs/android/biz/cards/cardfactory/e$e;

    invoke-direct {v0, p2, p1, p3}, Lcom/estrongs/android/biz/cards/cardfactory/e$e;-><init>(Lcom/estrongs/android/biz/cards/cardfactory/c;Les/yg;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_0
    return-void
.end method

.method public static a(Landroid/view/View;Les/yg;Lcom/estrongs/android/biz/cards/cardfactory/c;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2

    const v0, 0x7f0901a0

    .line 87
    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    if-eqz p2, :cond_3

    if-eqz v0, :cond_3

    .line 88
    new-instance v1, Lcom/estrongs/android/biz/cards/cardfactory/e$b;

    invoke-direct {v1, p2, p1, p4}, Lcom/estrongs/android/biz/cards/cardfactory/e$b;-><init>(Lcom/estrongs/android/biz/cards/cardfactory/c;Les/yg;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 89
    instance-of v1, v0, Landroid/widget/Button;

    if-eqz v1, :cond_0

    if-eqz p3, :cond_0

    .line 90
    move-object v1, v0

    check-cast v1, Landroid/widget/Button;

    invoke-virtual {v1, p3}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 91
    :cond_0
    instance-of v1, v0, Landroid/widget/TextView;

    if-eqz v1, :cond_1

    if-eqz p3, :cond_1

    .line 92
    move-object v1, v0

    check-cast v1, Landroid/widget/TextView;

    invoke-virtual {v1, p3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 93
    :cond_1
    invoke-static {p4}, Lcom/estrongs/android/biz/cards/cardfactory/e;->f(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 94
    invoke-static {p3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p3

    if-eqz p3, :cond_2

    const/4 p3, 0x4

    goto :goto_0

    :cond_2
    const/4 p3, 0x0

    .line 95
    :goto_0
    invoke-virtual {v0, p3}, Landroid/view/View;->setVisibility(I)V

    .line 96
    :cond_3
    invoke-static {p0, p1, p2, p4}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Landroid/view/View;Les/yg;Lcom/estrongs/android/biz/cards/cardfactory/c;Ljava/lang/String;)V

    return-void
.end method

.method public static a(Landroid/view/View;Ljava/lang/String;)V
    .locals 3

    const v0, 0x7f09051a

    .line 83
    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/ImageView;

    if-eqz p0, :cond_0

    if-eqz p1, :cond_0

    .line 84
    new-instance v0, Les/rg0;

    invoke-direct {v0, p0}, Les/rg0;-><init>(Landroid/widget/ImageView;)V

    const p0, 0x7f08018d

    const/4 v1, 0x3

    const/4 v2, 0x0

    invoke-static {v0, p1, p0, v1, v2}, Les/qg;->a(Les/qg0;Ljava/lang/String;IILes/ug0;)V

    :cond_0
    return-void
.end method

.method public static a(Landroid/view/View;Ljava/lang/String;Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
    .locals 3

    const v0, 0x7f09051a

    .line 85
    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/ImageView;

    if-eqz p0, :cond_0

    if-eqz p1, :cond_0

    .line 86
    new-instance v0, Les/rg0;

    invoke-direct {v0, p0}, Les/rg0;-><init>(Landroid/widget/ImageView;)V

    const p0, 0x7f08018d

    const/4 v1, 0x3

    new-instance v2, Lcom/estrongs/android/biz/cards/cardfactory/e$a;

    invoke-direct {v2, p2}, Lcom/estrongs/android/biz/cards/cardfactory/e$a;-><init>(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    invoke-static {v0, p1, p0, v1, v2}, Les/qg;->a(Les/qg0;Ljava/lang/String;IILes/ug0;)V

    :cond_0
    return-void
.end method

.method public static a(Landroid/view/View;Ljava/lang/String;Ljava/lang/String;)V
    .locals 1

    const v0, 0x7f090ba1

    .line 78
    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/TextView;

    if-eqz p1, :cond_0

    if-eqz p0, :cond_0

    .line 79
    invoke-virtual {p0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 80
    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_0

    .line 81
    :try_start_0
    invoke-static {p2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result p1

    invoke-virtual {p0, p1}, Landroid/widget/TextView;->setTextColor(I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p0

    .line 82
    invoke-virtual {p0}, Ljava/lang/Exception;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method public static a(Landroid/view/View;Z)V
    .locals 1

    const v0, 0x7f090cf6

    .line 139
    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p0

    if-eqz p0, :cond_1

    if-eqz p1, :cond_0

    const/4 p1, 0x0

    goto :goto_0

    :cond_0
    const/16 p1, 0x8

    .line 140
    :goto_0
    invoke-virtual {p0, p1}, Landroid/view/View;->setVisibility(I)V

    :cond_1
    return-void
.end method

.method public static a(Landroid/widget/ImageView;IILjava/lang/String;)V
    .locals 1

    const-string v0, "s07"

    .line 124
    invoke-virtual {v0, p3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p3

    if-eqz p3, :cond_3

    .line 125
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object p3

    invoke-static {p3}, Lcom/estrongs/android/pop/utils/t;->g(Landroid/content/Context;)Z

    move-result p3

    if-eqz p3, :cond_1

    if-le p1, p2, :cond_2

    :cond_0
    move p1, p2

    goto :goto_0

    :cond_1
    if-le p1, p2, :cond_0

    .line 126
    :cond_2
    :goto_0
    invoke-virtual {p0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p2

    .line 127
    div-int/lit8 p1, p1, 0x2

    iput p1, p2, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 128
    invoke-virtual {p0, p1}, Landroid/widget/ImageView;->setMaxHeight(I)V

    .line 129
    invoke-virtual {p0, p2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const/4 p1, 0x1

    .line 130
    invoke-virtual {p0, p1}, Landroid/widget/ImageView;->setAdjustViewBounds(Z)V

    .line 131
    sget-object p1, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {p0, p1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    :cond_3
    return-void
.end method

.method public static a(Landroid/widget/TextView;Ljava/lang/String;)V
    .locals 0

    .line 119
    invoke-virtual {p0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method private static a(Les/yg;)Z
    .locals 1

    .line 75
    instance-of v0, p0, Les/xg;

    if-eqz v0, :cond_0

    .line 76
    check-cast p0, Les/xg;

    .line 77
    invoke-static {}, Les/m00;->b()Les/m00;

    move-result-object v0

    invoke-virtual {p0}, Les/xg;->k()Ljava/lang/String;

    move-result-object p0

    invoke-virtual {v0, p0}, Les/m00;->b(Ljava/lang/String;)Z

    move-result p0

    return p0

    :cond_0
    const/4 p0, 0x0

    return p0
.end method

.method public static a(Ljava/lang/String;Ljava/lang/String;)Z
    .locals 6

    .line 38
    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string v1, "yyyy.MM.dd"

    invoke-direct {v0, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    const-wide/16 v1, 0x0

    .line 39
    :try_start_0
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v3

    .line 40
    invoke-virtual {v0, p0}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object p0

    invoke-virtual {v3, p0}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V

    .line 41
    invoke-virtual {v3}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v4
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    .line 42
    :try_start_1
    invoke-virtual {v0, p1}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object p0

    invoke-virtual {v3, p0}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V

    .line 43
    invoke-virtual {v3}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v1
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_1

    :catch_0
    move-exception p0

    goto :goto_0

    :catch_1
    move-exception p0

    move-wide v4, v1

    .line 44
    :goto_0
    invoke-virtual {p0}, Ljava/lang/Exception;->printStackTrace()V

    .line 45
    :goto_1
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide p0

    cmp-long v0, p0, v4

    if-ltz v0, :cond_0

    cmp-long v0, p0, v1

    if-gtz v0, :cond_0

    const/4 p0, 0x0

    return p0

    :cond_0
    const/4 p0, 0x1

    return p0
.end method

.method private static b(Les/yg;)Les/yg;
    .locals 1

    .line 1
    invoke-virtual {p0}, Les/yg;->f()Z

    move-result v0

    if-eqz v0, :cond_0

    return-object p0

    :cond_0
    const/4 p0, 0x0

    return-object p0
.end method

.method public static b(Ljava/lang/String;)Ljava/lang/String;
    .locals 5

    .line 2
    sget-object v0, Lcom/estrongs/android/biz/cards/cardfactory/e;->b:[Ljava/lang/String;

    array-length v1, v0

    const/4 v2, 0x0

    const/4 v3, 0x0

    :goto_0
    if-ge v3, v1, :cond_1

    aget-object v4, v0, v3

    .line 3
    invoke-virtual {v4, p0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_0

    const/4 v2, 0x1

    goto :goto_1

    :cond_0
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_1
    :goto_1
    if-eqz v2, :cond_2

    goto :goto_2

    :cond_2
    const-string p0, "default"

    :goto_2
    return-object p0
.end method

.method private static b(Landroid/view/View;Landroid/graphics/Bitmap;Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
    .locals 4

    .line 6
    invoke-virtual {p0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    .line 7
    invoke-virtual {p1}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v1

    .line 8
    invoke-virtual {p1}, Landroid/graphics/Bitmap;->getHeight()I

    move-result p1

    .line 9
    invoke-virtual {p0}, Landroid/view/View;->getMeasuredWidth()I

    move-result v2

    if-nez v2, :cond_0

    .line 10
    instance-of v3, p2, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;

    if-eqz v3, :cond_0

    .line 11
    move-object v2, p2

    check-cast v2, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;

    invoke-virtual {v2}, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;->f()I

    move-result v2

    :cond_0
    mul-int p1, p1, v2

    .line 12
    div-int/2addr p1, v1

    .line 13
    invoke-virtual {p0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    check-cast v1, Landroid/widget/RelativeLayout$LayoutParams;

    if-nez v1, :cond_1

    .line 14
    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v1, v2, p1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    goto :goto_0

    .line 15
    :cond_1
    iput p1, v1, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    .line 16
    :goto_0
    instance-of v2, p0, Landroid/widget/ImageView;

    if-eqz v2, :cond_2

    .line 17
    move-object v2, p0

    check-cast v2, Landroid/widget/ImageView;

    sget-object v3, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    .line 18
    :cond_2
    invoke-virtual {p0, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 19
    invoke-virtual {v0}, Landroid/view/ViewGroup;->getMeasuredWidth()I

    move-result p0

    if-nez p0, :cond_3

    .line 20
    instance-of v1, p2, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;

    if-eqz v1, :cond_3

    .line 21
    check-cast p2, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;

    invoke-virtual {p2}, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;->f()I

    move-result p0

    .line 22
    :cond_3
    invoke-virtual {v0}, Landroid/view/ViewGroup;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p2

    if-nez p2, :cond_4

    .line 23
    new-instance p2, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {p2, p0, p1}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    goto :goto_1

    .line 24
    :cond_4
    iput p1, p2, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 25
    :goto_1
    invoke-virtual {v0, p2}, Landroid/view/ViewGroup;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method

.method private static b(Landroid/view/View;Les/yg;Lcom/estrongs/android/biz/cards/cardfactory/c;Ljava/lang/String;)V
    .locals 1

    const-string v0, "s04"

    .line 26
    invoke-virtual {v0, p3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "s05"

    .line 27
    invoke-virtual {v0, p3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "s03"

    invoke-virtual {v0, p3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    const v0, 0x7f090266

    .line 28
    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p0

    if-eqz p2, :cond_1

    if-eqz p0, :cond_1

    .line 29
    new-instance v0, Lcom/estrongs/android/biz/cards/cardfactory/e$d;

    invoke-direct {v0, p2, p1, p3}, Lcom/estrongs/android/biz/cards/cardfactory/e$d;-><init>(Lcom/estrongs/android/biz/cards/cardfactory/c;Les/yg;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_1
    return-void
.end method

.method public static b(Landroid/view/View;Ljava/lang/String;)V
    .locals 1

    const v0, 0x7f090b19

    .line 4
    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/TextView;

    if-eqz p0, :cond_0

    if-eqz p1, :cond_0

    .line 5
    invoke-virtual {p0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method public static c(Ljava/lang/String;)Les/lh;
    .locals 6

    const-string v0, "_"

    .line 1
    invoke-virtual {p0, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object p0

    .line 2
    array-length v0, p0

    const-string v1, ""

    const/4 v2, 0x1

    if-le v0, v2, :cond_0

    aget-object v0, p0, v2

    goto :goto_0

    :cond_0
    move-object v0, v1

    .line 3
    :goto_0
    array-length v3, p0

    const/4 v4, 0x2

    if-le v3, v4, :cond_1

    aget-object v1, p0, v4

    :cond_1
    const/4 p0, 0x0

    const/4 v3, -0x1

    .line 4
    invoke-virtual {v0}, Ljava/lang/String;->hashCode()I

    move-result v5

    sparse-switch v5, :sswitch_data_0

    goto/16 :goto_1

    :sswitch_0
    const-string v2, "whatsnew"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/16 v2, 0xb

    goto/16 :goto_2

    :sswitch_1
    const-string v2, "function"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v2, 0x6

    goto/16 :goto_2

    :sswitch_2
    const-string v2, "recommend"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v2, 0x5

    goto/16 :goto_2

    :sswitch_3
    const-string v2, "subscribe"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v2, 0x7

    goto :goto_2

    :sswitch_4
    const-string v2, "topic"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/16 v2, 0x9

    goto :goto_2

    :sswitch_5
    const-string v2, "share"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v2, 0x2

    goto :goto_2

    :sswitch_6
    const-string v4, "rate"

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    goto :goto_2

    :sswitch_7
    const-string v2, "web"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/16 v2, 0xc

    goto :goto_2

    :sswitch_8
    const-string v2, "tip"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/16 v2, 0x8

    goto :goto_2

    :sswitch_9
    const-string v2, "ad"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v2, 0x0

    goto :goto_2

    :sswitch_a
    const-string v2, "permission"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v2, 0x4

    goto :goto_2

    :sswitch_b
    const-string v2, "adunlock"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v2, 0x3

    goto :goto_2

    :sswitch_c
    const-string v2, "widget"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/16 v2, 0xa

    goto :goto_2

    :cond_2
    :goto_1
    const/4 v2, -0x1

    :goto_2
    packed-switch v2, :pswitch_data_0

    goto :goto_3

    .line 5
    :pswitch_0
    new-instance p0, Les/vh;

    invoke-direct {p0, v1}, Les/vh;-><init>(Ljava/lang/String;)V

    goto :goto_3

    .line 6
    :pswitch_1
    new-instance p0, Les/wh;

    invoke-direct {p0}, Les/wh;-><init>()V

    goto :goto_3

    .line 7
    :pswitch_2
    new-instance p0, Les/xh;

    invoke-direct {p0, v1}, Les/xh;-><init>(Ljava/lang/String;)V

    goto :goto_3

    .line 8
    :pswitch_3
    new-instance p0, Les/uh;

    invoke-direct {p0, v1}, Les/uh;-><init>(Ljava/lang/String;)V

    goto :goto_3

    .line 9
    :pswitch_4
    new-instance p0, Les/th;

    invoke-direct {p0, v1}, Les/th;-><init>(Ljava/lang/String;)V

    goto :goto_3

    .line 10
    :pswitch_5
    new-instance p0, Les/oh;

    invoke-direct {p0, v1}, Les/oh;-><init>(Ljava/lang/String;)V

    goto :goto_3

    .line 11
    :pswitch_6
    new-instance p0, Les/rh;

    invoke-direct {p0, v1}, Les/rh;-><init>(Ljava/lang/String;)V

    goto :goto_3

    .line 12
    :pswitch_7
    new-instance p0, Les/ph;

    invoke-direct {p0, v1}, Les/ph;-><init>(Ljava/lang/String;)V

    goto :goto_3

    .line 13
    :pswitch_8
    new-instance p0, Les/nh;

    invoke-direct {p0, v1}, Les/nh;-><init>(Ljava/lang/String;)V

    goto :goto_3

    .line 14
    :pswitch_9
    new-instance p0, Les/sh;

    invoke-direct {p0, v1}, Les/sh;-><init>(Ljava/lang/String;)V

    goto :goto_3

    .line 15
    :pswitch_a
    new-instance p0, Les/qh;

    invoke-direct {p0, v1}, Les/qh;-><init>(Ljava/lang/String;)V

    goto :goto_3

    .line 16
    :pswitch_b
    new-instance p0, Les/mh;

    invoke-direct {p0}, Les/mh;-><init>()V

    :goto_3
    return-object p0

    nop

    :sswitch_data_0
    .sparse-switch
        -0x2ef8a5bc -> :sswitch_c
        -0x2bd6fad9 -> :sswitch_b
        -0x1eda3a31 -> :sswitch_a
        0xc23 -> :sswitch_9
        0x1c09b -> :sswitch_8
        0x1cb54 -> :sswitch_7
        0x354ce0 -> :sswitch_6
        0x6854fdf -> :sswitch_5
        0x696cd2f -> :sswitch_4
        0x1eafdd4a -> :sswitch_3
        0x3af610bc -> :sswitch_2
        0x524f73d8 -> :sswitch_1
        0x73529911 -> :sswitch_0
    .end sparse-switch

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_b
        :pswitch_a
        :pswitch_9
        :pswitch_8
        :pswitch_7
        :pswitch_6
        :pswitch_5
        :pswitch_5
        :pswitch_4
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public static c(Landroid/view/View;Ljava/lang/String;)V
    .locals 1

    const v0, 0x7f090ba1

    .line 17
    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/TextView;

    if-eqz p1, :cond_0

    if-eqz p0, :cond_0

    .line 18
    invoke-virtual {p0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method public static d(Ljava/lang/String;)I
    .locals 1

    .line 1
    invoke-virtual {p0}, Ljava/lang/String;->hashCode()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    packed-switch v0, :pswitch_data_1

    packed-switch v0, :pswitch_data_2

    goto/16 :goto_0

    :pswitch_0
    const-string v0, "s012"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    const/4 p0, 0x1

    goto/16 :goto_1

    :pswitch_1
    const-string v0, "s011"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    const/4 p0, 0x0

    goto :goto_1

    :pswitch_2
    const-string v0, "s11"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    const/16 p0, 0xa

    goto :goto_1

    :pswitch_3
    const-string v0, "s10"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    const/16 p0, 0x9

    goto :goto_1

    :pswitch_4
    const-string v0, "s08"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    const/16 p0, 0x8

    goto :goto_1

    :pswitch_5
    const-string v0, "s07"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    const/4 p0, 0x7

    goto :goto_1

    :pswitch_6
    const-string v0, "s06"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    const/4 p0, 0x6

    goto :goto_1

    :pswitch_7
    const-string v0, "s05"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    const/4 p0, 0x5

    goto :goto_1

    :pswitch_8
    const-string v0, "s04"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    const/4 p0, 0x4

    goto :goto_1

    :pswitch_9
    const-string v0, "s03"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    const/4 p0, 0x3

    goto :goto_1

    :pswitch_a
    const-string v0, "s02"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    const/4 p0, 0x2

    goto :goto_1

    :cond_0
    :goto_0
    const/4 p0, -0x1

    :goto_1
    packed-switch p0, :pswitch_data_3

    const-string p0, "text"

    const-string v0, "\u9ed8\u8ba4\u6837\u5f0f"

    .line 2
    invoke-static {p0, v0}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    const p0, 0x7f0c0092

    goto :goto_2

    :pswitch_b
    const p0, 0x7f0c0091

    goto :goto_2

    :pswitch_c
    const p0, 0x7f0c0090

    goto :goto_2

    :pswitch_d
    const p0, 0x7f0c008f

    goto :goto_2

    :pswitch_e
    const p0, 0x7f0c008e

    goto :goto_2

    :pswitch_f
    const p0, 0x7f0c008d

    goto :goto_2

    :pswitch_10
    const p0, 0x7f0c008c

    goto :goto_2

    :pswitch_11
    const p0, 0x7f0c008b

    goto :goto_2

    :pswitch_12
    const p0, 0x7f0c008a

    goto :goto_2

    :pswitch_13
    const p0, 0x7f0c0089

    goto :goto_2

    :pswitch_14
    const p0, 0x7f0c0087

    goto :goto_2

    :pswitch_15
    const p0, 0x7f0c0086

    :goto_2
    return p0

    :pswitch_data_0
    .packed-switch 0x1b5b5
        :pswitch_a
        :pswitch_9
        :pswitch_8
        :pswitch_7
        :pswitch_6
        :pswitch_5
        :pswitch_4
    .end packed-switch

    :pswitch_data_1
    .packed-switch 0x1b5d2
        :pswitch_3
        :pswitch_2
    .end packed-switch

    :pswitch_data_2
    .packed-switch 0x3500fd
        :pswitch_1
        :pswitch_0
    .end packed-switch

    :pswitch_data_3
    .packed-switch 0x0
        :pswitch_15
        :pswitch_14
        :pswitch_13
        :pswitch_12
        :pswitch_11
        :pswitch_10
        :pswitch_f
        :pswitch_e
        :pswitch_d
        :pswitch_c
        :pswitch_b
    .end packed-switch
.end method

.method public static d(Landroid/view/View;Ljava/lang/String;)V
    .locals 1

    const v0, 0x7f090ba9

    .line 3
    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/TextView;

    if-eqz p1, :cond_0

    if-eqz p0, :cond_0

    .line 4
    invoke-virtual {p0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method public static e(Ljava/lang/String;)I
    .locals 0

    .line 1
    invoke-virtual {p0}, Ljava/lang/String;->hashCode()I

    move-result p0

    return p0
.end method

.method public static f(Ljava/lang/String;)Z
    .locals 1

    const-string v0, "s07"

    .line 1
    invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    const-string v0, "s08"

    .line 2
    invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    const-string v0, "s11"

    .line 3
    invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    goto :goto_0

    :cond_0
    const/4 p0, 0x0

    return p0

    :cond_1
    :goto_0
    const/4 p0, 0x1

    return p0
.end method

.method public static g(Ljava/lang/String;)Z
    .locals 3

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    .line 2
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/estrongs/android/biz/cards/cardfactory/e;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    const-string v1, ""

    .line 3
    invoke-virtual {v0, p0, v1}, Lcom/estrongs/android/pop/o;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    .line 4
    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string v1, "yyyy-MM-dd"

    invoke-direct {v0, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    .line 5
    new-instance v1, Ljava/util/Date;

    invoke-direct {v1}, Ljava/util/Date;-><init>()V

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    .line 6
    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    return p0
.end method

.method public static h(Ljava/lang/String;)Z
    .locals 1

    const-string v0, "home_page_feed"

    .line 1
    invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    const-string v0, "lib_log"

    .line 2
    invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    const-string v0, "analysis"

    .line 3
    invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    const-string v0, "clean_result"

    .line 4
    invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    goto :goto_0

    :cond_0
    const/4 p0, 0x0

    return p0

    :cond_1
    :goto_0
    const/4 p0, 0x1

    return p0
.end method

.method public static i(Ljava/lang/String;)V
    .locals 3

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    .line 2
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/estrongs/android/biz/cards/cardfactory/e;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    .line 3
    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string v2, "yyyy-MM-dd"

    invoke-direct {v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    .line 4
    new-instance v2, Ljava/util/Date;

    invoke-direct {v2}, Ljava/util/Date;-><init>()V

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v1

    .line 5
    invoke-virtual {v0, p0, v1}, Lcom/estrongs/android/pop/o;->b(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method
